package cn.han.desin;

public class TestDesinTeacher {
    public static void main(String[] args) {
        CGBTeacher c = new CGBTeacher();
        c.ready();
        c.teach();
        //创建多态对象进行测试
        Teacher t = new CGBTeacher();
        t.ready();
        t.teach();
    }
}
